"use strict";

const router = require("express").Router();
const sessionApp = require("../apps/session_app");
const validate = require("../utils/validate");

router.post("/", validate.isFalsified, sessionApp.login);
router.post("/logout", validate.isFalsified, sessionApp.logout);

module.exports = router;
